package calculator;

public class PlusExpression extends BinaryExpression {

	public PlusExpression(IExpression left, IExpression right)
	{
		super(left, right);
	}
	
	@Override
	public Double calculate() {
		return left.calculate() + right.calculate();
	}

}
